home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / dbase / vpi1_330.zip / FASTART.DOC < prev    next >
Text File  |  1992-01-06  |  15KB  |  353 lines

  1.                                   FAST START
  2.                                       TO
  3.                                VP-INFO EXPERTISE
  4.  
  5.  
  6.                                 VP-Info Level 1
  7.  
  8.  
  9.           So you want to get down to business . . . Good idea!!
  10.  
  11.           Do not start by reading the manual!  Start instead by reading
  12.      this document at your computer and doing the suggested exercises.
  13.      Doing them won't make you an instant expert, but you will be a VP-Info
  14.      user.
  15.  
  16.           VP-Info can be run from floppy drives. Only the files VPI1.EXE
  17.      and VPI1.MSG are required. However this guide will assume a hard disk
  18.      and drive C: as an example.
  19.  
  20.           Create a directory off the root and switch to that directory.
  21.      With Disk 1 in drive A: (if you are loading from drive B:, change A:
  22.      to B: in the commands below), these DOS and PKZIP commands will set up
  23.      the proper directories and load the contents of your floppy disks onto
  24.      your hard disk:
  25.  
  26.                CD \
  27.                MD VPI1
  28.                CD VPI1
  29.                PKUNZIP A:*
  30.  
  31.           (Now put Disk 2 in the floppy drive)
  32.  
  33.                PKUNZIP A:*
  34.  
  35.           You have now loaded all of VP-Info Level 1 into a single
  36.      directory, including a Zip file (CHARITY.ZIP) containing a complete
  37.      application you'll want to study later.
  38.  
  39.           But there are still a few steps required to make your
  40.      installation complete.
  41.  
  42.           VPI1.EXE, VPI1.MSG and VPI1.HLP are all in the current directory,
  43.      and this directory is not on your "DOS path".  That means that VP-Info
  44.      cannot be run except in this directory!  Let's fix that right away.
  45.  
  46.           First find the path.  At the DOS prompt enter
  47.  
  48.                PATH
  49.  
  50.           DOS will respond by telling you what your path is, for example
  51.      "C:\DOS;C:\PROGS;C:\NORTON;C:\PCTOOLS;"  If there is no path set,
  52.      PATH will respond with "No Path" or a blank line, depending on your
  53.      DOS version. 
  54.  
  55.           1.   If you wish to add your VP-Info directory to your path, you
  56.           will want to change the PATH statement in your C\:AUTOEXEC.BAT
  57.           file. Suppose your current AUTOEXEC includes the statement
  58.  
  59.           PATH=C:\DOS;C:\PROGS;C:\NORTON;C:\PCTOOLS;
  60.  
  61.           and you have unzipped your VP-Info disks into the directory C:\VPI1,
  62.           change the PATH statement to:
  63.  
  64.           PATH=C:\DOS;C:\PROGS;C:\NORTON;C:\PCTOOLS;C:\VPI1;
  65.           You can then re-run your AUTOEXEC.BAT file by typing
  66.           C:\AUTOEXEC , or you can re-boot your computer.
  67.  
  68.           2.   If you have a current subdirectory where you like to keep
  69.           programs, move the required files to it. For example, the
  70.           following commands will move the VP-Info files to the directory
  71.             C:\PROGS :
  72.  
  73.                COPY VPI1.* C:\PROGS
  74.                DEL VPI1.EXE
  75.                DEL VPI1.MSG
  76.                DEL VPI1.HLP
  77.  
  78.  
  79.           Now is also a good time to unzip CHARITY.  Use this command and
  80.      it will automatically create the CHARITY subdirectory for you:
  81.  
  82.                PKUNZIP /D CHARITY CHARITY
  83.  
  84.           Now you're ready to start running VP-Info.  At the DOS prompt
  85.      enter
  86.  
  87.                VPI1
  88.  
  89.           The sign-on screen will stay on until you press Function Key 10.
  90.      We want you to read about us. (Note the name includes the letter "I"
  91.      and the number "1.")
  92.  
  93.           The first thing you see after the sign-on screen is a menu of
  94.      options. We'll assume you'll run this first just to get a taste of
  95.      VP-Info's power.  Note that program menus usually have ways to jump
  96.      (chain) from one program to another.  In this case you'll find an
  97.      option in the self-running demo to run the "Sample Programs", and
  98.      the "Samples Programs" menu has an option to chain to the self-running
  99.      demonstration.
  100.  
  101.           But you can start to "take control" immediately, either by
  102.      pressing "0" (zero) on the menu or pressing escape (Esc) followed by
  103.      the space bar.
  104.  
  105.           When you see the cursor on the line following "1>" you are "at
  106.      the one prompt" and ready to key in commands. Press the Enter key
  107.      after each command.
  108.  
  109.           Try these commands.
  110.  
  111.                                   USE COMDESC
  112.  
  113.           This opens a file (brings it into use) called COMDESC.DBF, with
  114.      one record about each VP-Info command and function. If you don't get
  115.      an error message, you did fine!  All you should see on the screen is
  116.      another "one prompt."
  117.  
  118.                                  USE#2 MEMBERS
  119.  
  120.           This is a fictional membership list opened in select area 2.
  121.      VP-Info Level 1 allows six data files to be opened at one time, each
  122.      in its own select area.
  123.  
  124.                                      STATUS
  125.  
  126.           The status display shows information about open data files,
  127.      memory variables, and more. This is not the time for an in-depth
  128.      analysis, but it's reassuring to see that both COMDESC.DBF and
  129.      MEMBERS.DBF are actually in use. Keep pressing the Return or Enter key
  130.      until you again see the "one prompt."
  131.  
  132.                                     SELECT 2
  133.  
  134.           We want to view the member file before we do anything as serious
  135.      as looking at commands. Note that the "one prompt" should now be a
  136.      "two prompt."
  137.  
  138.                                       EDIT
  139.  
  140.           The EDIT command displays one record at a time. Take time to
  141.      study the HELP window. The notation is concise. ^ means the Ctrl key.
  142.      Thus ^Home means press down the Ctrl key and the Home key together
  143.      (Ctrl first, keep it down and then press Home).
  144.  
  145.           Try pressing ^PgDn:
  146.  
  147.           This will add a record and take you into the APPEND mode -- same
  148.      as EDIT but adds new records. Why not add a few of your own "members."
  149.      Press the PgUp key to back up one record and return to edit mode.
  150.      Press the End key to return to the two prompt.
  151.  
  152.                                     SELECT 1
  153.  
  154.           Now let's look at the brief command reference.
  155.  
  156.                                      BROWSE
  157.  
  158.           You now see a screen full of records, one line for each. The
  159.      order is scrambled on purpose, we'll sort it later. For now you want
  160.      to practice BROWsing -- not learn commands.
  161.  
  162.           The HELP window is almost the same as in EDIT. We have tried to
  163.      keep the keystrokes the same for both commands. In fact, you can build
  164.      many applications, with these as your "work horse" commands.
  165.  
  166.           Experiment with the keystrokes. The PgUp and PgDn keys move
  167.      you between records. The Up and Down arrows move you between fields
  168.      of the same record. (so do the TAB and shift TAB keys -- a new
  169.      feature not shown on the HELP screens).
  170.  
  171.           Press the End key to end the BROWSE session.
  172.  
  173.                                      MODIFY
  174.  
  175.           We are getting serious here!  Don't modify important files
  176.      without first backing up!  A power or system failure could result in
  177.      lost data.
  178.  
  179.           We are going to add two new fields to the COMDESC file. PgDn to a
  180.      blank field and create a new field called USED. Choose type C
  181.      (character) and width 1.
  182.  
  183.           Add a second field NOTES, also type C, but width 60. Press the
  184.      End key. The last blank field will be ignored. The type shown is okay,
  185.      so press the Enter key and watch the modification occur.
  186.  
  187.                                       EDIT
  188.  
  189.           To look at modified records one at a time. You should see the
  190.      newly added fields (empty, of course). End the EDIT session (with the
  191.      End key), returning to the command line or one prompt.
  192.  
  193.                                       BROW
  194.  
  195.           Note that commands can be shortened to four characters. This will
  196.      not work with functions.
  197.  
  198.           Your new fields will not fit on the screen. To see them, press
  199.      ^L. Of course, they are all blank-filled until you add something.
  200.  
  201.           Go back to EDIT, find the EDIT and BROWSE descriptions and fill
  202.      in the new fields. You may want to keep doing this as you try new
  203.      commands and functions. Get back to the command line.
  204.  
  205.           You say you don't like the order of presentation! Good! Info can
  206.      re-arrange the order of a data file. This ability to view a file
  207.      through many indexes and filters is the primary reason for using a
  208.      data base.  Let's build an index!
  209.  
  210.                INDEX ON COMMAND TO COMDESC
  211.  
  212.           Now go back to BROWSE. The order should be better. Of course, you
  213.      could modify the file again and add a new field to distinguish between
  214.      commands and functions, index on a combination of fields, etc.
  215.      Meanwhile, let's go back to the command line and run one of the sample
  216.      programs:
  217.  
  218.                                     DO MENU1
  219.  
  220.           Note that DO launches a program from the command line. After a
  221.      few seconds you should see a menu. You can select in two ways:
  222.  
  223.           1.   Move the "light bar" up and down with the Up and Down
  224.      arrows. Press the Enter key when the light bar is on your choice. Many
  225.      other special keys (like the function keys) will also work. Note that
  226.      option zero cannot be chosen this way.
  227.  
  228.           2.   Press a number key. This works for options 0 through 9.
  229.      Options greater than 9 must be selected by moving the light bar.
  230.      Experiment with the menu choices, and work your way back to the
  231.      command line (the one prompt).
  232.  
  233.                                       QUIT
  234.  
  235.           This gets you out of VP-Info, and gives you the option of
  236.      printing an immediate order form so you can register your VP-Info
  237.      Level 1 and get your printed manual and technical support.
  238.  
  239.           To get back in from DOS, just enter
  240.  
  241.                                       VPI1
  242.  
  243.  
  244.           The lesson is almost over. At the command line enter
  245.  
  246.                                  COMPILE MENU1
  247.  
  248.           This creates a file MENU1.CPL which VP-Info can read and execute
  249.      very quickly. If you try to run a program that hasn't been compiled
  250.      yet, we build the CPL file when the program is started (the few second
  251.      delay mentioned above) and throw it away when you are done.
  252.  
  253.                                     DO MENU1
  254.  
  255.           You should see the program begin much more quickly. Back to the
  256.      command line . . .
  257.  
  258.                                   WRITE MENU1
  259.  
  260.           You are now looking at the program MENU1.PRG file with VP-Info's
  261.      built-in editor. Note how to get help.
  262.  
  263.           The editor is not designed to persuade you to throw away your
  264.      word processor or text editor. It is a modest editor with some special
  265.      strengths. It is internal to VP-Info, so it is always available. Thus
  266.      it can be invoked in your programs to allow users to create memos,
  267.      etc.
  268.  
  269.           You'll find it invaluable as an aid to correcting those
  270.      inevitable programming errors. In fact, when errors are detected and
  271.      WRITE is invoked, the cursor is positioned at or near the error.
  272.  
  273.           The Alt-F combination can be used to format program files with
  274.      regular indentations. We strongly advise use of this feature. It will
  275.      help solve nesting and unmatched structure statement problems (e.g. a
  276.      missing ENDIF to go with an IF). After using Alt-F, jump to the bottom
  277.      of the file with ^End and then go up a screen with PgUp. You should
  278.      see the last lines of the file right at the left margin, and the last
  279.      END command returning from an indent if all your structures are right.
  280.  
  281.           The ^P combination provides program printouts with headers and
  282.      form feeds, skipping over perforations.
  283.  
  284.                                   Leave WRITE
  285.           The End key will exit saving changes. ^Q will exit without
  286.      saving.
  287.  
  288.                                    DO SAMPLES
  289.  
  290.           This program will "walk" you through the DEMOPRGS collection of
  291.      sample programs.  This is one of the best ways to see what VP-Info can
  292.      do. We urge you to take the tour!
  293.  
  294.                                      HELP!
  295.  
  296.           VP-Info has on-line help. To get help from the command line just
  297.      enter HELP. If you are clear on the topic you want help with specify
  298.      that as well. e.g. HELP BROWSE
  299.  
  300.           If VP-Info recognizes the first four characters of what you key
  301.      in, that's the help you will get. Note that VP-Info looks for commands
  302.      before functions. Thus, "HELP REPL" will get you help on the REPLACE
  303.      command. You must key in "HELP REPLACE(" to get help with the REPLACE(
  304.      function.
  305.  
  306.           That's it! Try the sample programs. Read the sample programs.
  307.  
  308.           Technical support is available by phone or fax to registered
  309.      users through one of the numbers below.  But please do not call for
  310.      technical support on the toll-free order lines; operators are unable
  311.      to answer technical questions.
  312.  
  313.           (We will answer "quickies" without registration, but full support
  314.      is part of what you buy when you register.)
  315.  
  316.           We can also be reached on CompuServe (72010,1323).
  317.  
  318.                                    Good luck!
  319.  
  320.                          Sid Bursten and Bernie Melman
  321.  
  322.      ---------------------------------------------------------------------
  323.  
  324.                                     VP-INFO
  325.                        TECHNICAL ASSISTANCE AND UPGRADES
  326.  
  327.  
  328.                           - Worldwide Except Canada -
  329.  
  330.                                  Sub Rosa Corp.
  331.                              1313 Fifth Street S.E.
  332.                              Minneapolis, MN  55414
  333.                              Phone (612) 379-3898
  334.                                Fax (612) 379-3899
  335.  
  336.  
  337.                                - In Canada Only -
  338.  
  339.                             Sub Rosa Publishing Inc.
  340.                       1170 Sheppard Avenue West, Unit 34
  341.                           Downsview, Ontario  M3K 2A3
  342.                               Phone (416) 398-8414
  343.                               Fax (416) 398-8415
  344.  
  345.  
  346.  
  347.  
  348.                  (c) Copyright 1992 Sub Rosa International Inc.
  349.                               All Rights Reserved
  350.                              Released January, 1992
  351.  
  352.      ---------------------------------------------------------------------
  353.